package org.aeon.entity

/**
 * @author:     MissingAeon
 * @date:       2024/1/18 16:27
 * @description:
 */
data class Book(val id: String, var title: String, var author: String, var price: Float) {
    override fun toString(): String {
        return "%5s\t%-11s\t作者：%-8s\t单价：%4.2f".format(id, "《${title}》", author, price)
    }
}
